﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace LigerMVC.Common.JSON
{
    public class DataSetJSONSerializer : IJSONSerializer
    {
        public string Serialize(object o)
        {
            return JSONHelper.DataTableToJson(((DataSet)o).Tables[0]);
        }
    }
}
